package com.hirsi.module.developer.vo.param;

import com.hirsi.common.core.validator.annotation.FixedValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("查询开发者列表入参")
@Data
public class QueryDeveloperParam {

    @ApiModelProperty("用户名/姓名/昵称")
    private String keyword;

    @ApiModelProperty(value = "手机号", position = 1)
    private String phone;

    @ApiModelProperty(value = "身份证号", position = 2)
    private String idCard;

    @ApiModelProperty(value = "状态：1-正常，3-禁用", position = 3)
    @FixedValue(message = "请选择正确的状态", intValues = {1, 3}, ignoreNull = true)
    private Integer status;
}
